package org.pub.fast.jdbc.cross;

import java.util.*;

public class Messages extends ListResourceBundle {
    public final static String
        FEATURE_NOT_SUPPORTED="IM001",
        DRIVER_NOT_FOUND="IM003",
        SYNTAX_ERROR="37000",  
        TABLE_NOT_FOUND="42S02",
        COLUMN_NOT_FOUND="42S22",
        UNIQUE_INDEX="23000",
        DATA_CONVERSION_FAILED="22018",
        INVALID_VALUE="HY009",
        OBJECT_CLOSED="24000",
        GENERAL_ERROR="HY000";
    public Object[][] getContents() {
        return contents;
    }
    static final Object[][] contents = {
        {
            FEATURE_NOT_SUPPORTED,
            "Feature not supported"
        },
        {
            DRIVER_NOT_FOUND,
            "Database driver not found, check classpath"
        },
        {
            SYNTAX_ERROR,
            "Syntax error in SQL statement"
        },
        {
            GENERAL_ERROR,
            "General error"
        },
        {
            UNIQUE_INDEX,
            "Unique Index or Primary Key violation"
        },
        {
            TABLE_NOT_FOUND,
            "Table not found"
        },
        {
            COLUMN_NOT_FOUND,
            "Column not found"
        },
        {
            INVALID_VALUE,
            "Invalid value"
        },
        {
            OBJECT_CLOSED,
            "The object is already closed"
        }

    };
}
